package ro.fortech.peaa.service.api;

import java.util.List;

import ro.fortech.peaa.domain.Job;

/**
 * Interface for the JobManager.
 * 
 * @author robert
 *
 */
public interface IJobManager {

	public Job find(String id) throws Exception;

	/**
	 * Get all jobs
	 * @return the list of jobs
	 */
	public List<Job> findAll() throws Exception;

	/**
	 * Get all jobs only with the id and title fields set
	 * @return the list of jobs with only the id and title attributes set
	 */
	public List<Job> findAllIdAndTitle() throws Exception;

	public void insertJob(Job job) throws Exception;

	public void deleteJob(Job job) throws Exception;

	public void updateJob(Job job) throws Exception;

}

